package com.megvii.koala.data.manager;

import com.megvii.corelib.util.DateTimeUtil;
import com.megvii.koala.data.bean.ClockInBean;

/**
 * Created by linyue on 15/12/24.
 */
public class ClockInManager extends KoalaBeanManager<ClockInBean>
{
    @Override
    protected void update(ClockInBean bean, boolean sortAndIndex)
    {
        if (bean != null)
        {
            bean.photo = makeUrl(bean.photo);
            bean.timestamp = DateTimeUtil.toMSTimestamp(bean.timestamp);
        }
        super.update(bean, sortAndIndex);
    }
}
